
public class Customer
{
	private int donorNAme, donorAge;
	private char bloodType;
	private boolean hasDisease;
	int inventorySize;
	
	public Customer()
	{
		inventorySize = 0;
	}
	
	public int getBlood( int amount)
	{
		if(amount < inventorySize)
		{
			inventorySize = inventorySize - amount;
			return amount;	
		}
		else
		{
			return 0;
		}
	}
	
	public void addBlood( int amount)
	{
		inventorySize = inventorySize + amount;
	}
	
	public String toString() 
	{
		return "Bank []";
	}
}
